#pragma once
#include "CDependencyObject.h"

class CPointer :
	public CDependencyObject
{


protected: 
	CPointer(CCoreServices * pCore);
protected: 
	virtual ~CPointer();
public: 
	static HRESULT Create(CDependencyObject * * ppObject, CREATEPARAMETERS * pCreate);
	virtual XUINT32 GetTypeIndex() const;
	XUINT32 GetPointerId();
	enum PointerDeviceType GetPointerDeviceType();
	HRESULT SetPointerFromPointerInfo(struct PointerInfo pointerInfo);
	HRESULT SetPointer(CPointer * pPointer);
	XINT32 m_uiPointerId;
	enum PointerDeviceType m_pointerDeviceType;
	XBOOL m_bInContact;
	XBOOL m_bInRange;
	XBOOL m_bLeftButtonPressed;
	XBOOL m_bRightButtonPressed;
	XBOOL m_bMiddleButtonPressed;
};